package com.brsya.movie.model;

import com.brsya.base.bean.BaseObjectBean;
import com.brsya.base.bean.DomainBean;
import com.brsya.base.net.RetrofitClient;
import com.brsya.movie.contract.SplashContract;

import java.util.Map;

import io.reactivex.rxjava3.core.Observable;

/**
 * Created by Brsya
 * CreateDate: 2022/7/7  14:06
 * Description:
 * 启动页
 */
public class SplashModel implements SplashContract.Model {
    @Override
    public Observable<BaseObjectBean<DomainBean>> getUrl(Map<String, Object> par) {
        return RetrofitClient.getInstance().getApi().getUrlTop(par);
    }
}
